POV-Ray : Newsgroups : povray.general : linux and windows version produce different output : Re: linux and windows version produce different output Server Time
4 Aug 2024 02:20:24 EDT (-0400)
  Re: linux and windows version produce different output  
From: Tom York
Date: 17 Nov 2003 13:00:01
Message: <web.3fb90bc3df2bb6e4541c87100@news.povray.org>
Lutz-Peter Hooge wrote:

>But just setting F=1 would perhaps be the wrong solution (though it
>would still be much better than the current situation), since
>that would still be clipped to [reflectionmin, reflectionmax].
>There are some other references to total interreflection in that file so
>maybe this case is _supposed_ to be caught earlier?

TIR certainly is caught (detected in Refract_Guts() and flagged by return
value through Refract() and BackTraceRefract()) and the proper arrangements
made for reflected rays in compute_backtrace_texture() and
compute_lighted_texture(). However, determine_reflectivity() is called
before all this in both of the compute_*_texture functions, so the
information isn't yet available when determine_reflectivity is called and
the Fresnel calculations made.

I have no idea what the best solution would be. Is it such a bad idea to
obey the user-specified reflection_min/max even in the case of TIR?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.